<?php

class IndexAction extends Action{


	public function online(){
		$mc = new Memcache();
		$mc->connect( "127.0.0.1", 11211 );
		$online_members = $mc->get( 'online_members' );
		echo '<pre>';
		p($online_members);
		// echo "当前时间：".date('Y-m-d H:i:s',time())."<br>\r\n";
		// foreach ($online_members as $key => $value) {
		// 	echo "在线IP ".$key." 活动时间：".date('Y-m-d H:i:s',$value)."<br>\r\n";
		// }
		// p($online_members);
	}

}